using System;
using System.ComponentModel;

using DevExpress.Xpo;
using DevExpress.Data.Filtering;

using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
using DevExpress.ExpressApp.Actions;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.SystemModule;

namespace SCMSolution.Module
{
    //[DefaultClassOptions]
    public class TestObjects : BaseObject
    {
        public TestObjects(Session session) : base(session) { }
        private string _ID;
        [Custom("Caption", "ID")]
        public string ID
        {
            get { return _ID; }
            set { SetPropertyValue<string>("ID", ref _ID, value); }
        }

        private MenuList _MyProperty;
        [Custom("Caption", "MyProperty")]
        public MenuList MyProperty
        {
            get { return _MyProperty; }
            set { SetPropertyValue<MenuList>("MyProperty", ref _MyProperty, value); }
        }

    }
    public interface IMenu { }
    public class MenuList :BaseObject, IMenu
    {
        public MenuList(Session session):base(session)
        {

        }
        private string _MenuName;
        public string MenuName
        {
            get { return _MenuName; }
            set { _MenuName = value; }
        }
        private string _ActionId;
        public string ActionId
        {
            get { return _ActionId; }
            set { _ActionId = value; }
        }
    }


}
